package com.sunpeng.endpoint;

import com.sunpeng.service.ConsumerService;
import org.apache.servicecomb.provider.pojo.RpcSchema;
import org.springframework.beans.factory.annotation.Autowired;

@RpcSchema(schemaId = "consumerEndpoint")
public class consumerEndpoint {

    @Autowired
    private ConsumerService consumerService;

    public String say(String str){
        return consumerService.invokeRPC(str);
    }
}
